﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CommonLibraries.DeviceLibrary
{
    public interface IHandheld
    {
        /// <summary>
        /// Occurs when BatteryLevel changes
        /// </summary>
        event EventHandler BatteryLevelChanged;

        /// <summary>
        /// Occurs when PowerSource changes
        /// </summary>
        event EventHandler PowerSourceChanged;
        /// <summary>
        /// Gets the unit unique serial number
        /// </summary>
        string SerialNumber
        {
            get;
        }

        /// <summary>
        /// Gets the current power source
        /// </summary>
        PowerSources PowerSource
        {
            get;
        }

        /// <summary>
        /// Gets the unit battery level in percentage (100% is full)
        /// </summary>
        int BatteryLevel
        {
            get;
        }
    }
}
